<?php
$method = Event::getSupportedMethods();
print_r($method);
$eventBase = new EventBase();
echo "当前event的方法是:".$eventBase->getMethod().PHP_EOL;
$eventConfig = new EventConfig;
$eventConfig->avoidMethod('kqueue');
$eventBase = new EventBase($eventConfig);
echo "当前event的方法是:".$eventBase->getMethod().PHP_EOL;
